package com.woniuxy.factory.service;

import com.woniuxy.factory.dto.EquipmentDTO;
import com.woniuxy.factory.entity.Equipment;

import java.util.List;

public interface EquipmentService {
    //根据条件查询所有设备
    List<EquipmentDTO> findEquipmentByCondtion(Equipment equipment, int page, int limit) throws Exception;
    //根据条件查询设备总条数
    Integer totalEquipmentByCondtion(Equipment equipment);
    //增添设备
    void addEquipemt(Equipment equipment);
    //删除设备
    void deletEquipmentByEid(int eid);
    //修改设备
    void modifyEquipment(Equipment equipment);
}
